request_message
http.request_message
request_message:Message is[Private constructor]¶[src]
HTTP request message
Fields
method http.request_method¶[src]
the HTTP request method
version_major i64¶[src]
the major version
version_minor i64¶[src]
the minor version
header container.Map String String[Redefinition of http.Message.header]¶[src]
the header fields
body Unary (choice (Sequence u8) io.end_of_file error) i64[Redefinition of http.Message.body]¶[src]
body of the request
Functions
as_string_with_body(max_body_bytes i64) => outcome String[Inherited from Message]¶[src]
String representation of the whole message, i.e. header and body
body_as_string => outcome String[Inherited from Message]¶[src]
get the body of the message as a String
bytes(max_body_bytes i64) => Sequence u8[Inherited from Message]¶[src]
the whole message as a sequence of bytes
request_line => String¶[src]
request line of the message
start_line => String[Redefinition of http.Message.start_line]¶[src]
Comment of http.Message.start_line
the start line of the message, for requests it is the request line, for responses the status lineType Features
type.new(method http.request_method,target String,version_major i64,version_minor i64,header Sequence (tuple String String)) => http.request_message¶[src]
request with an empty body
type.new(method http.request_method,target String,version_major i64,version_minor i64,header Sequence (tuple String String),body Unary (choice (Sequence u8) io.end_of_file error) i64) => http.request_message¶[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)